﻿using FirstFloor.ModernUI.Windows.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using IsikFx.Project.CommonTypes;
using System.Timers;

namespace IsikFx.Project.MainApp
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : ModernWindow
    {
        Timer timer = new Timer();

        public MainWindow()
        {
            try
            {
                InitializeComponent();
                IsikFxWcfService.ServiceClient client = new IsikFxWcfService.ServiceClient();
                // List<User> users = client.GetUsersByRole(0).ToList();
                //if (users != null && users.Count > 0)
                //{

                //}
               
                DoWork();
            }
            catch (Exception ex)
            { 
            }
        }

        void timer_Elapsed(object sender, ElapsedEventArgs e)
        {
            
        }

        void DoWork()
        {
            this.Background = Brushes.Red;
        }
    }
}
